package com.smarthospital.dao.mapper;

import com.smarthospital.entity.pojo.Doctor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DoctorDao {

    int insertSelective(@Param("pojo") Doctor pojo);

    int update(@Param("pojo") Doctor pojo);

    List<Doctor> querDoctors(Integer doctorLevel);

    Doctor queryById(Long id);

    Doctor queryByDoctorStr(String doctor);
}
